<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>

<%@page import="com.lovo.bbs.vo.*,com.lovo.bbs.bo.*,java.util.*"%>

<%
	//提示信息
	String msg = "";
	if (request.getAttribute("msg") != null) {
		msg = (String) request.getAttribute("msg");
	}

	//获取用户信息 
	String username = request.getParameter("username");
	UserInfoVo userinfo = new UserInfoBo().getUserInfo(username,LoginBo.TYPE_OF_MEMBER);
	//网站杂项信息 
	ForumStatVo forumInfo = (ForumStatVo) application
			.getAttribute("forumInfo");
%>



<html>
	<head>
		<title>控制面板 - <%=forumInfo.getSiteName()%></title>

		<link href="../css/style.css" type="text/css" rel=stylesheet />
		<link href="../css/menu.css" type="text/css" rel=stylesheet />
		<link href="../css/common.css" type="text/css" rel="stylesheet" />
		<script type="text/javascript" src="../js/wbs_ajax.js"></script>
	</head>
	<body>

		<div id=popLayer style="position: absolute; z-index: 101"
			class=cPopText></div>


		<form name="frmMain" method="post"  action="ControlServlet?type=contact">



			<!--登录状态----------------------------------------------------------------->
			<table width="100%" align="center" cellpadding="0" cellspacing="1"
				class="CommonNavigation_OuterTableCSS">
				<tr>
					<td>
						<table width="100%" cellpadding="9" cellspacing="0">
							<tr>
								<td class="CommonNavigation_InnerTableFooterCSS">
									<table width="100%" cellpadding="0" cellspacing="0" board="1">
										<tr>
											<td class="SmallTxt">
												欢迎:
												<label onMousemove="showPopupText(labeluser)"
													onMouseout="showPopupText('')">
													<a class="UserName"
														href="../userinfo.jsp?username=<%=userinfo.getUserName()%>"><%=userinfo.getUserName()%></a>
												</label>
												<font class="SmlLinks">( </font><a
													href="../LogoutServlet?toindex=true&logedusername=<%=userinfo.getUserName()%>">退出</a><font
													class="SmlLinks"> )</font>&nbsp;&nbsp;
												<a class="FunctionDesk"
													href="control.jsp?username=<%=userinfo.getUserName()%>">控制面板</a>
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>



			<font size="1"><br> </font>


			<!--导航栏----------------------------------------------------------------->
			<table width="100%" cellpadding="0" cellspacing="1"
				class="BreadCrumb_OuterTableCSS">
				<tr>
					<td>
						<table width="100%" cellpadding="9" cellspacing="0"
							class="BreadCrumb_InnerTableCSS">
							<tr>
								<td align="left">
									<a title="返回首页" class="SmlBoldLinks" href="../index.jsp"><%=forumInfo.getSiteName()%></a>
									<font class="BreadCrumb_NavSeperator">&#187;</font>
									<a class="SmlBoldLinks"
										href="control.jsp?username=<%=userinfo.getUserName()%>">控制面板</a>
									<font class="BreadCrumb_NavSeperator">&#187;</font>
									<a>联系方式</a>&nbsp;&nbsp;
									<font id="servermsg" size="1" color="red"><%=msg%></font>
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
									<font id="warnmsg" size="1" color="red"></font>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>






			<font size="1"><br> </font>




			<table Width="100%" CellPadding="0" CellSpacing="0">
				<tr>
					<td width="20%" valign="top">
						<table Class="forum_out" width="100%" border="0" cellpadding="0"
							cellspacing="0">
							<tr>
								<td>
									<table border="0" width="100%" cellpadding="0" cellspacing="0">
										<tr>
											<td>
												<table width="100%" border="0" cellpadding="9"
													cellspacing="0">
													<tr>
														<td class="forumcell_read">
															<font class="forumcell_read">控制面板</font>
														</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td>
												<table border="0" width="100%" cellpadding="9"
													cellspacing="1">
													<tr>
														<td Class="forumcell_button" bgcolor="#F5FBFF">
															<a class="SmlBoldLinks"
																href="account.jsp?username=<%=userinfo.getUserName()%>">账户管理</a>
														</td>
													</tr>
													<tr>
														<td Class="forumcell_button">
															
																<font class="SmlBoldLinks">联系方式</font>
														</td>
													</tr>
													<tr>
														<td Class="forumcell_button">
															<a class="SmlBoldLinks"
																href="special.jsp?username=<%=userinfo.getUserName()%>">个性化设置</a>
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>



					</td>
					<td>
						&nbsp;
					</td>
					<td width="80%" valign="top">
						<table Class="forum_out" width="100%" border="0" cellpadding="0"
							cellspacing="0">
							<tr>
								<td>
									<table border="0" width="100%" cellpadding="0" cellspacing="0">
										<tr>
											<td>
												<table width="100%" border="0" cellpadding="9"
													cellspacing="0">
													<tr>
														<td class="forumcell_read">
															<font class="forumcell_read">联系方式</font>
														</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td>
												<table width="100%" cellpadding="9" cellspacing="1">

													<tr>
														<td width="24%" class="forumcell_button">
															<font class="SmallTxtBold">个人网站:</font>
															<font size="1"><br> </font>
														</td>
														<td class="forumcell_button">
															<input type="text" name="site"
																value="<%=userinfo.getHomePage()%>"
																class="FormInputText" style="width: 70%" />
														</td>
													</tr>
													<tr>
														<td width="24%" class="forumcell_button">
															<font class="SmallTxtBold">Blog:</font>
															<font size="1"><br> </font>
														</td>
														<td class="forumcell_button">
															<input type="text" name="blog"
																value="<%=userinfo.getBlog()%>" class="FormInputText"
																style="width: 70%" />
														</td>
													</tr>
													<tr>
														<td width="24%" class="forumcell_button">
															<font class="SmallTxtBold">MSN:</font>
															<font size="1"><br> </font>
														</td>
														<td class="forumcell_button">
															<input type="text" name="msn" class="FormInputText"
																value="<%=userinfo.getMsn()%>" style="width: 70%" />
														</td>
													</tr>
													<tr>
														<td width="24%" class="forumcell_button">
															<font class="SmallTxtBold">QQ:</font>
															<font size="1"><br> </font>
														</td>
														<td class="forumcell_button">
															<input type="text" name="qq"
																value="<%=userinfo.getQq()%>" class="FormInputText"
																style="width: 70%" />
														</td>
													</tr>

													<tr>
														<td width="24%" class="forumcell_button">
															<font class="SmallTxtBold">来自:</font>
															<font size="1"><br> </font>
														</td>
														<td class="forumcell_button">
															<input type="text" name="home" class="FormInputText"
																value="<%=userinfo.getHome()%>" style="width: 70%" />
														</td>
													</tr>
													<tr>
														<td class="forumcell_button">
															<input type="button"   value="修改个人信息"   class="FormButtonBig"
															onclick="checkContactInfo()"  style="height: 26px;" />
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</form>
		<br>

		<!--页脚----------------------------------------------------------------->
		<%@include file="../include/copyright.html"%>

		<font size="1"><br> </font>

	</body>
</html>
